home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3414 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.5 KB  |  41 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: thor.cf.ac.uk!thor!san3mw
  3. From: wardle@cf.ac.uk (Mark Wardle)
  4. Subject: Re: Changing Gadtools Gadgets
  5. Sender: news@cf.ac.uk (USENET News System)
  6. Message-ID: <Dn1M8x.Gp3@cf.ac.uk>
  7. Date: Mon, 19 Feb 1996 21:55:45 GMT
  8. X-Nntp-Posting-Host: thor
  9. Reply-To: wardle@cf.ac.uk
  10. References: <50332724@river.prima.ruhr.de>
  11. Organization: University of Wales College of Cardiff, Cardiff, Wales, UK
  12. X-Newsreader: TIN [version 1.2 PL2]
  13.  
  14. Gadtools gadgets cannot be changed once created. You create a list of 
  15. gadgets and you must treat the list as one whole thing. You cannot access 
  16. any gadgets within the list directly using standard intuition gadget calls.
  17.  
  18. The only thing you can do to a gadtools gadget is to toggle the 
  19. GA_Disabled flag as far as I can remember.
  20.  
  21. If you want to have one gadget alone, which you can add and remove from a 
  22. window, then you must create a seperate gadtools gadget list. A 
  23. significant problem with this however is when you remove the gadget you 
  24. always need to remove to the end of the list (read the gadtools docs). 
  25. Therefore, really you can only add and remove one set of gadgets to a 
  26. window, any more and you will run into problems. (Perhaps not on current 
  27. versions... and depending on the gadget types).
  28.  
  29. I just wish gadtools was an easy way of accessing standard BOOPSI 
  30. gadgets, so people who want to setup nice GUIs can directly add BOOPSI 
  31. gadgets to their windows etc... rather than trying to mess about with 
  32. bloody gadtools.
  33.  
  34. This is one of the things on my wishlist for OS4..
  35.  
  36.  
  37.  
  38. Yours,
  39. Mark Wardle
  40.  
  41.